package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *  视图
 *
 * @author code-generate
 * @date 2021-08-30
 */
@Data
@ApiModel(value = "StoreInout 视图", description = " 视图")
public class StoreInoutVO implements Serializable{
    /**
     * 序号
     */
    @ApiModelProperty(value = "序号")
    @Excel(name = "序号", orderNum = "0")
    private int sid;

        /**
     * 单据编码
     */
    @ApiModelProperty(value = "单据编码")
    @Excel(name = "单据编码", orderNum = "0")
    private String billCode;

    /**
     * 单据日期
     */
    @ApiModelProperty(value = "单据日期")
    @Excel(name = "单据日期(格式：2021/1/1)", orderNum = "0")
    @JsonFormat(shape = JsonFormat.Shape.STRING, timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private LocalDateTime billDate;

    /**
     * 供应商名称
     */
    @ApiModelProperty(value = "供应商名称")
    @Excel(name = "供应商名称", orderNum = "0")
    private String supplier;

    /**
     * 类别
     */
    @ApiModelProperty(value = "类别(1：采购进货，2：采购退货)")
    @Excel(name = "类别", orderNum = "0")
    private String type;

    /**
     * 入库类别
     */
    @ApiModelProperty(value = "类别(1：入库，2：出库)")
    @Excel(name = "入库类别", orderNum = "0")
    private String storeType;

    /**
     * 登记人Id
     */
    @ApiModelProperty(value = "登记人Id")
    @Excel(name = "登记人Id", orderNum = "0")
    private Integer recordUserId;

    /**
     * 登记人名称
     */
    @ApiModelProperty(value = "登记人名称")
    @Excel(name = "登记人名称", orderNum = "0")
    private String recordUserName;

    /**
     * 登记日期
     */
    @ApiModelProperty(value = "登记日期")
    @Excel(name = "登记日期(格式：2021/1/1)", orderNum = "0")
    @JsonFormat(shape = JsonFormat.Shape.STRING, timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private LocalDateTime recordDate;

    /**
     * 领用人
     */
    @ApiModelProperty(value = "领用人")
    @Excel(name = "领用人", orderNum = "0")
    private String claimUser;

    private boolean isPass;
    private String analysisRes;


}
